<template>
	<view class="content">
		这是自定义组件
	</view>
</template>

<script setup>
	import {
		onBeforeMount,
		onMounted,
		onBeforeUpdate,
		onUpdated,
		onBeforeUnmount,
		onUnmounted,
		onActivated,
		onDeactivated,
		computed,
		ref
	} from "vue"
	import {onLoad,onReady,onShow,onHide,onUnload,onPageScroll} from "@dcloudio/uni-app"
	const props = defineProps({
		props1:{
			type:String,
			default:"string"
		},
		props1:{
			type:Boolean,
			default: false
		}
	})
	const emit = defineEmits(["event1","event2"])
	
	const count = ref(100)
	const countComputed = computed(()=>{
		return count.value + 100
	})
	
</script>

<style lang="scss" scoped>

</style>
